import request from '@/utils/request'

export const workSchedulings = (data) => {
  return request({
    url: '/manager/work-schedulings',
    method: 'post',
    data
  })
}
/** *
 * 分页排班
 */

export const workSchedulingsList = (params) => {
  return request({
    url: '/manager/work-schedulings',
    params
  })
}

/**
 * 工作模式列表查询
 */

export const workPatternList = () => {
  console.log('hahaha')
  return request({
    url: '/manager/work-patterns/all'
  })
}
